<!DOCTYPE html>
<html>

<head lang="en">
    <meta charset="UTF-8">
    <title>项目成果管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="../css/bootstrap.min.css" />
    <link rel="stylesheet" href="../css/index.css" />
    <link rel="stylesheet" href="../css/road.css" />
    <script src="../js/jquery-1.11.3.js"></script>
    <script src="../js/bootstrap.js"></script>
    <script src="../js/index.js"></script>
</head>

<body>
    <div class="header row" style="text-align: center; background: #850b06; color: #fff;margin: 0;">
        <div class="col-sm-12">
            <h5 class="title">投资计划管理信息系统</h5>
            <div class="mianbaoxie">
                <a href="../index.html">五年规划</a>>综合分析</div>
        </div>
    </div>
    <div class="row" style="margin: 0;">
        <div class="aside col-sm-1">
            <!--<div class="panel-group" id="myid">-->
            <div class="panel">
                <div class="panel-heading" style="border-bottom: 1px solid #616161;">
                    <h3 class="panel-title">
                        <a data-toggle="collapse" href="#No0">
                            <p class="headTitle">综合分析</p>
                        </a>
                    </h3>
                </div>
                <div class="panel-collapse in" id="No0">
                    <div class="panel-body">
                        <ul class="select">
                            <li id="tl" class="active outli onehead">
                                <p>铁路规划</p>
                            </li>
                            <li id="gs" class="outli onehead">
                                <p>公路规划-高速公路</p>
                            </li>
                            <li id="gsd" class="outli onehead">
                                <p>公路规划-国省道</p>
                            </li>
                            <li id="wngl" class="outli onehead">
                                <p>农村公路</p>
                            </li>
                            <li class="notselect" style=" padding: 0">
                                <p class="slide outli">水运规划</p>
                                <ul>
                                    <li id="sy_1">
                                        <p>沿海港口项目</p>
                                    </li>
                                    <li id="sy_2">
                                        <p>内河水运建设项目</p>
                                    </li>
                                    <li id="sy_3">
                                        <p>陆岛码头建设项目</p>
                                    </li>
                                </ul>
                            </li>
                            <li class="notselect" style="padding: 0">
                                <p class="slide outli">公路站场规划</p>
                                <ul>
                                    <li id="zc_1">
                                        <p>客运站场建设项目</p>
                                    </li>
                                    <li id="zc_2">
                                        <p>物流园区建设项目</p>
                                    </li>
                                </ul>
                            </li>
                            <li id="jc" class="outli onehead">
                                <p>机场规划</p>
                            </li>
                            <li class="notselect" style=" padding: 0">
                                <p class="slide outli">综合查询</p>
                                <ul>
                                    <li id="ghzh_ds" data-type='0'>
                                        <p>按地市分</p>
                                    </li>
                                    <li id="ghzh_hy" data-type='1'>
                                        <p>按行业分</p>
                                    </li>
                                    <li id="map" class="wn" data-type='tl;gs;gsd;wngl;sy_1;sy_2;sy_3;zc_1;zc_2;jc'>
                                        <p>按地图分</p>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-10" style="padding:0">
            <div class="index_right" id="index_right_div" style=" width:100%">
                <iframe scrolling="no" id="index_right_page"></iframe>
            </div>
        </div>
    </div>
</body>
<script>
    var iframeHeight = 950;
    var iframe = document.getElementById("index_right_page");
    iframe.src = "../frames/frame_tl.html";
    var index_right_div_height;
    var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
    index_right_div_height = iframeWin.document.body.scrollHeight < iframeHeight ? iframeHeight : iframeWin.document.body.scrollHeight;
    document.getElementById("index_right_div").style.height = index_right_div_height + "px";
    $(".select li").click(function (event) {
        var dataType = $(this).attr('data-type');
        iframeHeight = dataType == '1' ? 1300 : 950;
        document.getElementById("index_right_div").style.height = iframeHeight + "px";
        var ev = window.event || event;
        ev.stopPropagation();
        if ($(this).attr('id') != ('' || undefined)) $("#index_right_page").attr("src", "../frames/frame_" + $(this).attr('id') + ".html")
    });
    if (localStorage.getItem('item') != undefined) {
        $('.mianbaoxie').html('<a href="../index.html">' + localStorage.getItem('item') + '</a>>' + localStorage.getItem('item_name'));
        $('.headTitle').html(localStorage.getItem('item_name'));
    }


</script>

</html>